//
//  Qb_JoinTableViewCell.m
//  Cd_Qb
//
//  Created by mac on 2018/3/9.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "Qb_JoinTableViewCell.h"

@interface Qb_JoinTableViewCell()
//会员图标
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVipImgTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVipImgLeft;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVipImgH;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVipImgW;
//会员名称
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVipViewTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVipViewH;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVipViewW;
//会员缴费
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVipLabelLeft;
//会员费率 等
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVip01LabelTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVip02LabelTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *Qb_JoinVip03LabelTop;

//
@property (weak, nonatomic) IBOutlet UIImageView *VipImg;
@property (weak, nonatomic) IBOutlet UIImageView *VipNameBackImg;
@property (weak, nonatomic) IBOutlet UIImageView *VipBackImg;
@property (weak, nonatomic) IBOutlet UILabel *VipNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *VipPriceLabel;
@property (weak, nonatomic) IBOutlet UILabel *VipFnLabel;
@end

@implementation Qb_JoinTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self AdaptationApp];
    // Initialization code
}

-(void)loadData:(id)model{
    self.VipBackImg.image = [UIImage imageNamed:model[@"cellback"]];
    self.VipNameBackImg.image = [UIImage imageNamed:model[@"lvnameback"]];
    self.VipImg.image = [UIImage imageNamed:model[@"lvimg"]];
}

@end
